home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 October
/
EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso
/
Aminet
/
dev
/
gcc
/
gcc263_install.lha
/
GCC-Install
/
README
< prev
Wrap
Text File
|
1995-06-14
|
4KB
|
116 lines
Short: gcc installer script
Type: dev/gcc
Author: jochen.wiedmann@zdv.uni-tuebingen.de
Uploader: jochen.wiedmann@zdv.uni-tuebingen.de
About GCC-Install
=================
This archive contains an installer script for the GNU C compiler. It
may be used independent from the version you want to install or
deinstall.
This file should replace the existing installer script, which is known
to be buggy (sorry) and lacks some features which seem to me to be
rather important, considering all those questions which would never
be asked, if people would use this script. GCC-Install's new features
are
- does not depend on external files, textfiles that should
be created are contained in the script.
- can make gcc to use the Commodore OS headers without copying
them to GNU:os-include
- can be used for deinstallation or reconfiguration only
I beg anyone downloading gcc, to download this file too. Try it.
Currently one cannot expect it to be more than a beta version, but
replacing it will be lots easier than replacing the complete gcc
archive. Let me know, if you find any problems or don't like
something. My emal address is
jochen.wiedmann@zdv.uni-tuebingen.de
GCC-Install behaves different, depending on whether an assign GNU:
exists. If it does, the script opens a window on startup, which
allows to switch between the choices
1) Deinstall existing GNU C version
2) Install and configure new version
3) Configure existing version
4) All of the above
5) Exit
If no assign GNU: exists, this window is suppressed and choice 2) is
assumed silently.
1) Deinstalling existing GNU C version
--------------------------------------
The user may select a directory with the version to deinstall (default
GNU:). Deinstallation is done in one of two possible ways:
a) Complete deinstallation
b) Partial deinstallation
Complete deinstallation means to remove the complete directory (except
for directories which are in use, for example GNU:bin aka bin:), partial
deinstallation will remove only lib/gcc-lib.
2) Installing a new GNU C version
---------------------------------
The user may select a directory which will be the parent drawer of
GNU:. A subdrawer "gnu" will be created, from now on being referred
as GNU:. (Sorry for those of you which have more than one version of
GNU C installed, but the name "gnu" is fixed in the LhA archives.)
Installation begins with unpacking the archives. The user may select
the archives he wants to be unpacked to GNU:. If the machine is
equipped with a 68020 or better, the user will be asked, if he wants
to use the 020 binaries.
Some files are missing in the archives: Those which may be installed
as links to other files. The user is asked if he wants to use links
(hard links now, usually bin: will reside on only one partition and
soft links *do* make problems.) or copy the files.
If the 020 binaries have been installed, the installation ends with
asking the user, if he wants to rename gcc-020 to gcc, g++-020 to
g++ and so on. Finally the installer script continues with step 3
to configure the new GNU C installation.
3) Configuring a GNU C version
------------------------------
Configuration starts with asking the user for environment variables
he wants to copy from GNU:envarc to envarc:.
The user is asked, if he has the Commodore OS headers. If this is the
case, he may select the directory where they are installed. The script
offers two different methods of installing the headers:
- Modifying the specs file, so that gcc uses -I<osHeaderDir>
- Setup environment variables like C_INCLUDE_PATH
If the user likes, he may create a GNUINCLUDE: assign from within
GNU:s/User-Startup, which leads to the directory with the OS headers
and replaces <osHeaderDir> in the example above.
Finally s:User-Startup is modified, so that it creates an assign
GNU: and executes GNU:s/User-Startup. This file will be created (it
is contained in the installer script, an external file is no longer
being used.)
Existing specs and GNU:s/User-Startup files are considered obsolete.
A directory GNU:obsolete is created, where the old versions will
be copied to.
Jochen Wiedmann